﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Mobile/Masters/MobileSite.master" AutoEventWireup="true" CodeFile="Checkout.aspx.cs" Inherits="Mobile_Checkout" %>

<asp:Content ID="Content1" ContentPlaceHolderID="Title" Runat="Server">
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="Head" Runat="Server">
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="HeadBody" Runat="Server">
<header>
	<div class="sortable">
		<ul>
			<li><a href="http://www.ebooks.com/iphone/index.asp?hdr="><strong>eBooks.com</strong></a></li>
			<li><a href="https://sec.ebooks.com/account/account-iphone-new.asp?hdr="><strong>Account</strong></a></li>
			<li><a href="https://sec.ebooks.com/account/view-all-iphone.asp?hdr="><strong>Bookshelf</strong></a></li>
		</ul>
		<div class="edge"></div>
		<div class="edge right"></div>
	</div>
</header>

<header>
	
    <a href="javascript: history.go(-1)" class="goback"><strong>Back</strong></a>
	<h1>Payment Details</h1>

</header>
</asp:Content>

<asp:Content ID="Content4" ContentPlaceHolderID="MainContent" Runat="Server">
<section id="appbody">
<script language="javascript">

<!--



    function SubmitCoupon() {
        //Coupon
        if (document.form_coupon.txtCouponCode.value == "") {
            alert("Error: You didn't enter your coupon code.");
            document.form_coupon.txtCouponCode.focus();
            return false;
        }

        return true;
    }


    function showStateDropDown() {
        if ((document.form_purchase.dbcboCountries.options[document.form_purchase.dbcboCountries.selectedIndex].value == 225 && 5 != 225) || (document.form_purchase.dbcboCountries.options[document.form_purchase.dbcboCountries.selectedIndex].value != 225 && 5 == 225)) {
            window.location.href = "?lngCountryID=" + document.form_purchase.dbcboCountries.options[document.form_purchase.dbcboCountries.selectedIndex].value
            return false;
        }
    }

    function ValidateEzyForm(totalPr) {
        if (totalPr == "0") {
            alert("Error: You can not buy these items!");
            return false;
        }

        if (document.ezy_purchase.txtSecurityNumber.value == "") {
            alert("Please enter your credit card security code.");
            document.ezy_purchase.txtSecurityNumber.focus();
            return false;
        }
    }

    function IsInteger(sText) {
        var ValidChars = "0123456789";
        var IsNumber = true;
        var Char;


        for (i = 0; i < sText.length && IsNumber == true; i++) {
            Char = sText.charAt(i);
            if (ValidChars.indexOf(Char) == -1) {
                IsNumber = false;
            }
        }
        return IsNumber;

    }

    function isValidZip(zipCode) {

        if (zipCode.length == 5) {
            return IsInteger(zipCode);
        }
        else {
            return false;
        }
    }

    function isValidCreditCard(cardtype, ccnumber) {
        if (cardtype == "Visa") {
            // Prefix: 4, Lenght: 16
            var regEx = /^4\d{3}-?\d{4}-?\d{4}-?\d{4}$/;
        }
        else if (cardtype == "Mastercard") {
            // Prefix: 51-55, Length: 16
            var regEx = /^5[1-5]\d{2}-?\d{4}-?\d{4}-?\d{4}$/;
        }
        else if (cardtype == "Discover") {
            // Prefix: 6011, Length: 16
            var regEx = /^6011-?\d{4}-?\d{4}-?\d{4}$/;
        }
        else if (cardtype == "Amex") {
            // Prefix: 34 or 37, Length: 15
            var regEx = /^3[4,7]\d{13}$/;
        }
        else if (cardtype == "Diners") {
            // Prefix: 30, 36, or 38, Length: 14
            var regEx = /^3[0,6,8]\d{12}$/;
        }

        if (!regEx.test(ccnumber)) {
            alert("Error: Please enter a valid credit card number.");
            document.form_purchase.txtCardNumber.focus();
            return false;
        }

        // Remove all dashes.
        ccnumber = ccnumber.split("-").join("");

        // Add even digits in even length strings or odd digits in odd length strings.
        var checksum = 0;

        for (var cnt = (2 - (ccnumber.length % 2)); cnt <= ccnumber.length; cnt += 2) {
            checksum += parseInt(ccnumber.charAt(cnt - 1));
        }

        for (var cnt = (ccnumber.length % 2) + 1; cnt <= ccnumber.length; cnt += 2) {
            var digit = parseInt(ccnumber.charAt(cnt - 1)) * 2;
            if (digit < 10) {
                checksum += digit;
            }
            else {
                checksum += (digit - 9);
            }
        }

        if ((checksum % 10) == 0) {
            return true;
        }
        else {
            alert("Error: Please enter a valid credit card number.");
            document.form_purchase.txtCardNumber.focus();
            return false;
        }
    }

    function ValidateForm(totalPr) {

        //First Name
        if (document.form_purchase.txtFirstName.value == "") {
            alert("Error: Please enter your first name as it appears on your credit card.");
            document.form_purchase.txtFirstName.focus();
            return false;
        }

        //Last Name
        if (document.form_purchase.txtLastName.value == "") {
            alert("Error: Please enter your last name as it appears on your credit card.");
            document.form_purchase.txtLastName.focus();
            return false;
        }

        //Address
        if (document.form_purchase.txtAddress.value == "") {
            alert("Error: Please enter your credit card billing address.");
            document.form_purchase.txtAddress.focus();
            return false;
        }

        //City
        if (document.form_purchase.txtCity.value == "") {
            alert("Error: Please enter your city.");
            document.form_purchase.txtCity.focus();
            return false;
        }

        //State
        if (document.form_purchase.txtState.value == "") {
            alert("Error: Please enter your state/province.");
            document.form_purchase.txtState.focus();
            return false;
        }

        //Postcode
        if (document.form_purchase.txtPostCode.value == "") {
            alert("Error: Please enter your post code.");
            document.form_purchase.txtPostCode.focus();
            return false;
        }

        var selectedCountry = document.form_purchase.dbcboCountries.options[document.form_purchase.dbcboCountries.selectedIndex].value;
        //Country
        //if (document.form_purchase.dbcboCountries.value == 0) {
        if (document.form_purchase.dbcboCountries.options[document.form_purchase.dbcboCountries.selectedIndex].value == 0) {
            alert("Error: Please select your country.");
            //document.form_purchase.dbcboCountries.setActive();
            document.form_purchase.dbcboCountries.focus();
            return false;
        }


        //US zip code validation
        if (selectedCountry == 225 && document.form_purchase.txtPostCode.value != "") {

            if (isValidZip(document.form_purchase.txtPostCode.value) == false) {
                alert("Error: Please enter your 5-digit Zip Code.");
                document.form_purchase.txtPostCode.focus();
                return false;
            }
            else {
                var numValue = document.form_purchase.txtPostCode.value * 1;
                if ((numValue < 501) || (numValue > 99950)) {
                    alert("Error: Please enter your 5-digit Zip Code.");
                    document.form_purchase.txtPostCode.focus();
                    return false;
                }

            }

        }


        //Phone Number
        if (document.form_purchase.txtPhone.value == "") {
            alert("Error: Please enter your phone number.");
            document.form_purchase.txtPhone.focus();
            return false;
        }

        //Card type
        //if (document.form_purchase.cboCardType.value == 0) {
        if (document.form_purchase.cboCardType.options[document.form_purchase.cboCardType.selectedIndex].value == 0) {
            alert("Error: Please select your card type.");
            //document.form_purchase.cboCardType.setActive();
            document.form_purchase.cboCardType.focus();
            return false;
        }

        //Credit Card Number
        if (document.form_purchase.txtCardNumber.value.length < 14) {
            alert("Error: Please enter a valid credit card number.");
            document.form_purchase.txtCardNumber.focus();
            return false;
        }
        else {
            var ccnum = document.form_purchase.txtCardNumber.value;

            ccnum = ccnum.split("-").join("");
            ccnum = ccnum.split(" ").join("");
            var cclen = ccnum.length;

            if (cclen < 14 || cclen > 16) {
                alert("Error: Please enter a valid credit card number.");
                document.form_purchase.txtCardNumber.focus();
                return false;
            }
            else {

                // Diners
                if (cclen == 14) {
                    if (ccnum.charAt(0) == 3) {
                        document.form_purchase.cboCardType.options[document.form_purchase.cboCardType.selectedIndex].value = "Diners";
                        if (isValidCreditCard("Diners", ccnum) == false) { return false; }
                    }
                    else {
                        alert("Error: Please enter a valid credit card number.");
                        document.form_purchase.txtCardNumber.focus();
                        return false;
                    }
                }

                //Amex
                if (cclen == 15) {
                    if (ccnum.charAt(0) == 3) {
                        document.form_purchase.cboCardType.options[document.form_purchase.cboCardType.selectedIndex].value = "Amex";
                        if (isValidCreditCard("Amex", ccnum) == false) { return false; }
                    }
                    else {
                        alert("Error: Please enter a valid credit card number.");
                        document.form_purchase.txtCardNumber.focus();
                        return false;
                    }
                }

                //Visa or Mastercard
                if (cclen == 16) {
                    if (ccnum.charAt(0) == 4) {
                        document.form_purchase.cboCardType.options[document.form_purchase.cboCardType.selectedIndex].value = "Visa";
                        if (isValidCreditCard("Visa", ccnum) == false) { return false; }
                    }
                    else if (ccnum.charAt(0) == 5) {
                        document.form_purchase.cboCardType.options[document.form_purchase.cboCardType.selectedIndex].value = "Mastercard";
                        if (isValidCreditCard("Mastercard", ccnum) == false) { return false; }
                    }
                    else {
                        alert("Error: Please enter a valid credit card number.");
                        document.form_purchase.txtCardNumber.focus();
                        return false;
                    }

                }
            }
        }

        //Credit Card Security Code
        if (document.form_purchase.txtSecurityNumber.value == "") {
            alert("Error: Please enter your credit card security code.");
            document.form_purchase.txtSecurityNumber.focus();
            return false;
        }

        //Expiration Month
        //if (document.form_purchase.cboMonth.value == 0) {
        if (document.form_purchase.cboMonth.options[document.form_purchase.cboMonth.selectedIndex].value == 0) {
            alert("Error: Please select the expiration month of your credit card.");
            document.form_purchase.cboMonth.focus();
            return false;
        }

        //Expiration Month
        //if (document.form_purchase.cboYear.value == 0) {
        if (document.form_purchase.cboYear.options[document.form_purchase.cboYear.selectedIndex].value == 0) {
            alert("Error: Please select the expiration year of your credit card.");
            document.form_purchase.cboYear.focus();
            return false;
        }

        //Is the card still valid?
        if ((document.form_purchase.cboYear.options[document.form_purchase.cboYear.selectedIndex].value == 2012) && (document.form_purchase.cboMonth.options[document.form_purchase.cboMonth.selectedIndex].value < 3)) {
            alert("Error: Your credit card has expired.");
            document.form_purchase.txtCardNumber.focus();
            return false;
        }

        if (totalPr == "0") {
            alert("Error: You can not buy these items!");
            return false;
        }


        //Is coupon code present (but not submitted)?
        if (document.form_coupon.txtCouponCode.value != "") {
            document.form_purchase.txtPromoCode.value = document.form_coupon.txtCouponCode.value;
        }


        return true;
    }


    function CheckCountry() {
        var selectedCountry = document.form_purchase.dbcboCountries.options[document.form_purchase.dbcboCountries.selectedIndex].value;
        if (document.form_purchase.dbcboCountries.options[document.form_purchase.dbcboCountries.selectedIndex].value == 0) {
            document.getElementById("divErrCountries").innerHTML = "Please select your country.";
            document.form_purchase.dbcboCountries.focus();
            disableSubmit();
        }

        if (selectedCountry != 5) {
            document.form_purchase.ipt.value = "1";
            document.form_purchase.action = "/purchase/details-iphone.asp?lngCountryID=" + document.form_purchase.dbcboCountries.options[document.form_purchase.dbcboCountries.selectedIndex].value;
            document.form_purchase.submit();
        }
        if (document.getElementById("showRemovedItems")) {
            document.getElementById("showRemovedItems").style.display = "block";
        }
        document.form_purchase.action = "/purchase/process-new-iphone.asp";

    }



    function CheckZip() {
        var selectedCountry = document.form_purchase.dbcboCountries.options[document.form_purchase.dbcboCountries.selectedIndex].value;

        if (selectedCountry == 225 && document.form_purchase.txtPostCode.value != "") {

            if (isValidZip(document.form_purchase.txtPostCode.value) == false) {
                document.getElementById("divErrPostCode").innerHTML = "Please enter your 5-digit Zip Code.";
                document.form_purchase.txtPostCode.focus();
                disableSubmit();
            }
            else {
                var numValue = document.form_purchase.txtPostCode.value * 1;
                if ((numValue < 501) || (numValue > 99950)) {
                    document.getElementById("divErrPostCode").innerHTML = "Please enter your 5-digit Zip Code.";
                    document.form_purchase.txtPostCode.focus();
                    disableSubmit();
                }
                else {
                    document.form_purchase.ipt.value = "1";
                    document.form_purchase.action = "/purchase/details-iphone.asp?lngCountryID=" + document.form_purchase.dbcboCountries.options[document.form_purchase.dbcboCountries.selectedIndex].value + "#PostcodeBookmark";
                    document.form_purchase.submit();
                }
            }
        }
        document.form_purchase.action = "/purchase/process-new-iphone.asp";

    }
-->
</script>


<br>
<div id="bookdesc">
<div id="storelisting-small" style="padding:8px">
			<h2>Books in your cart</h2><br>
			<div style="color: #767576">



<table width="100%" cellspacing="3" cellpadding="5" class="list" bgcolor="#fff">
	<tbody><tr>
		<th width="80%" align="left" style="font-size:13px;color:black">Title</th>
		<th width="20%" align="left" style="font-size:13px;color:black">Price</th>
	</tr>
	<tr>
<td valign="top" align="left" style="font-size:13px;border-top:1px solid #ccc"><a style="color: #767576" href="http://www.ebooks.com/ebooks/iphone_book_display.asp?IID=142066">Reengineering the Corporation</a></td><td align="left" valign="top" style="font-size:13px;border-top:1px solid #ccc">US$ 13.99</td>
</tr>
<tr>
<td valign="top" align="left" style="font-size:13px;border-top:1px solid #ccc"><a style="color: #767576" href="http://www.ebooks.com/ebooks/iphone_book_display.asp?IID=553926">Pride &amp; Prejudice</a></td><td align="left" valign="top" style="font-size:13px;border-top:1px solid #ccc">US$ 0.00</td>
</tr>
<tr>
<td valign="top" align="left" style="font-size:13px;border-top:1px solid #ccc"><a style="text-decoration:none;" href="http://www.ebooks.com/ebooks/iphone_book_display.asp?IID=801505"><font style="color:red;size:13px;text-decoration:none;">Girl with the Dragon Tattoo Trilogy Bundle *</font></a></td><td align="left" valign="top" style="font-size:13px;border-top:1px solid #ccc"><font style="color:red">$0.00</font></td>
</tr>
<tr>
<td valign="top" align="left" style="font-size:13px;border-top:1px solid #ccc"><a style="color: #767576" href="http://www.ebooks.com/ebooks/iphone_book_display.asp?IID=802536">Computer Networks</a></td><td align="left" valign="top" style="font-size:13px;border-top:1px solid #ccc">US$ 99.95</td>
</tr>

	<tr>
		<td align="right" style="font-size:13px;border-top:1px solid #ccc;color:black"><b>Total Price:&nbsp;&nbsp;&nbsp;</b></td>
		<td align="left" style="font-size:13px;border-top:1px solid #ccc;color:black"><b>US$ 113.94</b></td>

	</tr>
	
</tbody></table>

<br><font style="color:red">* Publisher restricts sales of this title in your country.</font><br><br>


</div>
		</div>



<br>
<div id="storelisting-small" style="padding:8px">
<div style="display:block;" id="showButton"><p style="font-size:14px;">Do you have a <strong>Coupon</strong> or <strong>Gift Certificate</strong>?</p></div>
<form name="form_coupon" onsubmit="return SubmitCoupon();" action="/purchase/details-iphone.asp" method="post">
<div id="hideMe" style="display:block; padding:2px 5px 2px 5px; border:1px dashed #8CC621; background-image:url(https://i.ebkimg.com/images/cert_background.gif)">

<p>Enter or paste the code into the box below and then click the 'Submit' button to update your Total Order Price.
Then continue with your credit card details.</p>

<p><input name="txtCouponCode" type="text" id="txtCouponCode" value="" style="width:224px;">
 <input type="submit" class="green" value="Submit" id="submit1" name="submit1"></p>
</div>
<input type="hidden" name="lngCountryID" value="5">
<input type="hidden" name="txtPostCode" value="">
</form>
</div>
<br>


<br>


<div id="storelisting-small" style="padding:8px">
<h3>Your Credit Card Details</h3>
<div style="padding:5px">


<a name="purchform"></a>
<p>Please enter the credit card holder's detail below. <strong>Please note that all fields are required</strong>.</p>




<form name="form_purchase" onsubmit="return ValidateForm(113.94)" action="/purchase/process-new-iphone.asp" method="post">
<input type="hidden" name="ipt" value="">
<input type="hidden" name="hdr" value="">

<input type="hidden" name="txtPromoCode" value="">

<table cellspacing="0" cellpadding="0" width="100%" summary="This table contains two columns of credit card details that you will need to fill out to purchase your shopping cart items. The 'process order' button is just after this table." border="0" class="transform">
	<tbody><tr>
		<td style="font-size:13px;">
	<p><strong>First Name</strong> (on credit card)<br>
		<input tabindex="1" name="txtFirstName" type="text" id="txtFirstName" value=""></p>
	<p><strong>Last Name</strong> (on credit card)<br>
		<input tabindex="2" name="txtLastName" type="text" id="txtLastName" value=""></p>

	<p><strong>Country</strong><br>
		<select tabindex="3" name="dbcboCountries" id="dbcboCountries" onchange="CheckCountry()">
			<option value="0">---- Choose a country ----</option>
<option value="225">United States</option>
<option value="75">United Kingdom</option>
<option value="15">Australia</option>
<option value="37">Canada</option>
<option value="0">--------------------------</option>
<option value="4">Afghanistan</option>
<option value="7">Albania</option>
<option value="60">Algeria</option>
<option value="13">American Samoa</option>
<option value="2">Andorra</option>
<option value="10">Angola</option>
<option value="6">Anguilla</option>
<option value="11">Antarctica</option>
<option value="5" selected="">Antigua and Barbuda</option>
<option value="12">Argentina</option>
<option value="8">Armenia</option>
<option value="16">Aruba</option>
<option value="1">Ascension Island</option>
<option value="15">Australia</option>
<option value="14">Austria</option>
<option value="17">Azerbaijan</option>
<option value="31">Bahamas</option>
<option value="24">Bahrain</option>
<option value="20">Bangladesh</option>
<option value="19">Barbados</option>
<option value="35">Belarus</option>
<option value="21">Belgium</option>
<option value="36">Belize</option>
<option value="26">Benin</option>
<option value="27">Bermuda</option>
<option value="32">Bhutan</option>
<option value="29">Bolivia</option>
<option value="18">Bosnia and Herzegowina</option>
<option value="34">Botswana</option>
<option value="33">Bouvet Island</option>
<option value="30">Brazil</option>
<option value="104">British Indian Ocean Territory</option>
<option value="28">Brunei Darussalam</option>
<option value="23">Bulgaria</option>
<option value="22">Burkina Faso</option>
<option value="25">Burundi</option>
<option value="115">Cambodia</option>
<option value="46">Cameroon</option>
<option value="37">Canada</option>
<option value="51">Cape Verde</option>
<option value="121">Cayman Islands</option>
<option value="40">Central African Republic</option>
<option value="207">Chad</option>
<option value="45">Chile</option>
<option value="47">China</option>
<option value="52">Christmas Island</option>
<option value="38">Cocos (Keeling) Islands</option>
<option value="48">Colombia</option>
<option value="117">Comoros</option>
<option value="41">Congo</option>
<option value="44">Cook Islands</option>
<option value="49">Costa Rica</option>
<option value="43">Côte d'Ivoire</option>
<option value="96">Croatia</option>
<option value="50">Cuba</option>
<option value="53">Cyprus</option>
<option value="54">Czech Republic</option>
<option value="57">Denmark</option>
<option value="56">Djibouti</option>
<option value="58">Dominica</option>
<option value="59">Dominican Republic</option>
<option value="216">East Timor</option>
<option value="61">Ecuador</option>
<option value="63">Egypt</option>
<option value="203">El Salvador</option>
<option value="86">Equatorial Guinea</option>
<option value="65">Eritrea</option>
<option value="62">Estonia</option>
<option value="67">Ethiopia</option>
<option value="70">Falkland Islands</option>
<option value="72">Faroe Islands</option>
<option value="69">Fiji</option>
<option value="68">Finland</option>
<option value="73">France</option>
<option value="78">French Guiana</option>
<option value="171">French Polynesia</option>
<option value="208">French Southern Territories</option>
<option value="74">Gabon</option>
<option value="83">Gambia</option>
<option value="77">Georgia</option>
<option value="55">Germany</option>
<option value="80">Ghana</option>
<option value="81">Gibraltar</option>
<option value="87">Greece</option>
<option value="82">Greenland</option>
<option value="76">Grenada</option>
<option value="85">Guadelope</option>
<option value="90">Guam</option>
<option value="89">Guatemala</option>
<option value="79">Guernsey</option>
<option value="84">Guinea</option>
<option value="91">Guinea-Bissau</option>
<option value="92">Guyana</option>
<option value="97">Haiti</option>
<option value="94">Heard and McDonald Islands</option>
<option value="228">Holy See (Vatican City State)</option>
<option value="95">Honduras</option>
<option value="93">Hong Kong</option>
<option value="98">Hungary</option>
<option value="107">Iceland</option>
<option value="103">India</option>
<option value="99">Indonesia</option>
<option value="106">Iran</option>
<option value="105">Iraq</option>
<option value="100">Ireland</option>
<option value="102">Isle of Man</option>
<option value="101">Israel</option>
<option value="108">Italy</option>
<option value="110">Jamaica</option>
<option value="112">Japan</option>
<option value="109">Jersey</option>
<option value="111">Jordan</option>
<option value="122">Kazakhstan</option>
<option value="113">Kenya</option>
<option value="116">Kiribati</option>
<option value="120">Kuwait</option>
<option value="119">Korea</option>
<option value="114">Kyrgystan</option>
<option value="123">Lao People's Democratic Republic</option>
<option value="132">Latvia</option>
<option value="124">Lebanon</option>
<option value="129">Lesotho</option>
<option value="128">Liberia</option>
<option value="133">Libyan Arab Jamahiriya</option>

<option value="126">Liechtenstein</option>
<option value="130">Lithuania</option>
<option value="131">Luxembourg</option>
<option value="143">Macau</option>
<option value="139">Macedonia</option>
<option value="137">Madagascar</option>
<option value="151">Malawi</option>
<option value="153">Malaysia</option>
<option value="150">Maldives</option>

<option value="140">Mali</option>
<option value="148">Malta</option>
<option value="138">Marshall Islands</option>
<option value="145">Martinique</option>
<option value="146">Mauritania</option>
<option value="149">Mauritius</option>
<option value="238">Mayotte</option>
<option value="152">Mexico</option>
<option value="71">Micronesia</option>

<option value="136">Moldova</option>
<option value="135">Monaco</option>
<option value="142">Mongolia</option>
<option value="147">Montserrat</option>
<option value="134">Morocco</option>
<option value="154">Mozambique</option>
<option value="141">Myanmar</option>
<option value="155">Namibia</option>
<option value="164">Nauru</option>

<option value="163">Nepal</option>
<option value="9">Netherlands Antilles</option>
<option value="161">Netherlands, The</option>
<option value="165">Neutral Zone</option>
<option value="156">New Caledonia</option>
<option value="167">New Zealand</option>
<option value="160">Nicaragua</option>
<option value="157">Niger</option>
<option value="159">Nigeria</option>

<option value="166">Niue</option>
<option value="244">None</option>
<option value="158">Norfolk Island</option>
<option value="144">Northern Mariana Islands</option>
<option value="162">Norway</option>
<option value="168">Oman</option>
<option value="174">Pakistan</option>
<option value="180">Palau</option>
<option value="169">Panama</option>

<option value="172">Papua New Guinea</option>
<option value="181">Paraguay</option>
<option value="170">Peru</option>
<option value="173">Philippines</option>
<option value="177">Pitcairn</option>
<option value="175">Poland</option>
<option value="179">Portugal</option>
<option value="178">Puerto Rico</option>
<option value="182">Qatar</option>

<option value="183">Reunion</option>
<option value="184">Romania</option>
<option value="185">Russia</option>
<option value="186">Rwanda</option>
<option value="118">Saint Kitts and Nevis</option>
<option value="125">Saint Lucia</option>
<option value="229">Saint Vincent and the Grenadines</option>
<option value="236">Samoa</option>
<option value="198">San Marino</option>

<option value="202">Sao Tome and Principe</option>
<option value="187">Saudi Arabia</option>
<option value="199">Senegal</option>
<option value="245">Serbia</option>
<option value="189">Seychelles</option>
<option value="197">Sierra Leone</option>
<option value="192">Singapore</option>
<option value="196">Slovakia</option>
<option value="194">Slovenia</option>
<option value="188">Solomon Islands</option>

<option value="200">Somalia</option>
<option value="240">South Africa</option>
<option value="88">South Georgia and the South Sandwich Islands</option>
<option value="66">Spain</option>
<option value="127">Sri Lanka</option>
<option value="193">St. Helena</option>
<option value="176">St. Pierre and Miquelon</option>
<option value="190">Sudan</option>
<option value="201">Surinam</option>

<option value="195">Svalbard and Jan Mayen Islands</option>
<option value="205">Swaziland</option>
<option value="191">Sweden</option>
<option value="42">Switzerland</option>
<option value="204">Syrian Arab Republic</option>
<option value="220">Taiwan</option>
<option value="211">Tajikistan</option>
<option value="221">Tanzania</option>
<option value="210">Thailand</option>

<option value="206">The Turks &amp; Caicos Islands</option>
<option value="209">Togo</option>
<option value="212">Tokelau</option>
<option value="215">Tonga</option>
<option value="218">Trinidad and Tobago</option>
<option value="214">Tunisia</option>
<option value="217">Turkey</option>
<option value="213">Turkmenistan</option>

<option value="219">Tuvalu</option>
<option value="223">Uganda</option>
<option value="222">Ukraine</option>
<option value="3">United Arab Emirates</option>
<option value="75">United Kingdom</option>
<option value="225">United States</option>
<option value="226">Uruguay</option>
<option value="227">Uzbekistan</option>
<option value="234">Vanuatu</option>

<option value="230">Venezuela</option>
<option value="233">Vietnam</option>
<option value="231">Virgin Islands British</option>
<option value="232">Virgin Islands U.S</option>
<option value="235">Wallis and Futuna Islands</option>
<option value="64">Western Sahara</option>
<option value="237">Yemen</option>
<option value="239">Yugoslavia</option>
<option value="39">Zaire</option>

<option value="241">Zambia</option>
<option value="243">Zimbabwe</option>
		</select></p>

	<p><strong>Address</strong><br>
		<input tabindex="4" name="txtAddress" type="text" id="txtAddress" value=""></p>
	<p><strong>City</strong><br>
		<input tabindex="5" name="txtCity" type="text" id="txtCity" value=""></p>
	<p><strong>State</strong><br>
		
		<input tabindex="7" name="txtState" type="text" id="txtState" value="">
		
		</p>
	<p><strong>Postcode/Zip</strong><br>
		<input tabindex="8" name="txtPostCode" type="text" id="txtPostCode" value="" onchange="CheckZip()"></p>


	<p><strong>Phone Number</strong><br>
		<input tabindex="9" name="txtPhone" value="" type="text" id="txtPhone"></p>
	<p><img src="https://i.ebkimg.com/images/cards.gif" border="0" alt="We accept Visa, Mastercard, American Express and Diner's Club cards." height="28" width="155"></p>
	<p><strong>Credit Card Type</strong><br>
		<select tabindex="10" name="cboCardType" id="cboCardType">
		<option value="0">--Select a Card Type--</option>
		<option value="Visa">Visa</option>
		<option value="Mastercard">Mastercard</option>
		
		<option value="Diners">Diners Club</option>
		
		<option value="Amex">American Express</option>
	</select></p>
	<p><strong>Credit Card Number</strong><br>
		<input tabindex="11" name="txtCardNumber" type="text" id="txtCardNumber"></p>
	<p><strong>Security Code</strong> (<a onclick="window.open('https://sec.ebooks.com/purchase/security.asp','cardimage','toolbar=0,menubar=0,scrollbars=0,resizable=0,width=420,height=320')" href="#">What's This?</a>)<br>
		<input tabindex="12" name="txtSecurityNumber" type="text" id="txtSecurityNumber"></p>
	<p><strong>Expiration Date</strong><br>
			<select tabindex="13" name="cboMonth" id="cboMonth">
	<option value="0">Month</option>
	<option value="1">January</option>
<option value="2">February</option>
<option value="3">March</option>
<option value="4">April</option>
<option value="5">May</option>
<option value="6">June</option>
<option value="7">July</option>
<option value="8">August</option>
<option value="9">September</option>
<option value="10">October</option>
<option value="11">November</option>
<option value="12">December</option>


</select>

<select tabindex="14" name="cboYear" id="cboYear">
	<option value="0">Year</option>
	<option value="2012">2012</option>
<option value="2013">2013</option>
<option value="2014">2014</option>
<option value="2015">2015</option>
<option value="2016">2016</option>
<option value="2017">2017</option>
<option value="2018">2018</option>
<option value="2019">2019</option>
<option value="2020">2020</option>
<option value="2021">2021</option>
<option value="2022">2022</option>


</select></p>
<br><p>
<script>
    var rightNow = new Date();
    document.write('<input type="hidden" name="ct" value="' + rightNow + '">');
</script><input type="hidden" name="ct" value="Wed Mar 21 2012 10:40:33 GMT+0700 (SE Asia Standard Time)">
<input type="hidden" name="ti" value="0"></p><center>
<div style="border:1px solid #8DB0DB;background-color:#ffffff;padding:4px;width:200px;"><center>
<input tabindex="15" type="submit" class="button-big" value="Process Order" id="submitbutton" name="submitbutton"><br><br>
<h5>ONLY CLICK ONCE</h5>
If you double-click this button, you may be billed twice.
</center></div></center>
<br><p></p>
 <p>
			</p><center>
			<a href="http://www.ebooks.com/information/privacy.asp"><img src="https://i.ebkimg.com/truste/web.gif" border="0" width="116" height="32" alt="Reviewed by TRUSTe" style="border:1px solid #000000;"></a><br>
			<strong>We care about your privacy.</strong>
			<br><br>
			<img src="https://i.ebkimg.com/images/poweredByWorldPay.gif" width="139" height="33" border="0" alt="Powered by World Pay"><p></p>
			</center>
			<p></p>
 </td>
		  </tr>
	</tbody></table></form>
	</div>
	</div>

</div>
</section>
</asp:Content>